from page import Page
import unittest
from selenium import webdriver
import logging

class Case(unittest.TestCase):
    def setUp(self) -> None:
        self.driver=webdriver.Edge()
        self.driver.maximize_window()
        logging.info('开始')
    def tearDown(self) -> None:
        self.driver.close()
        print('结束')

    def test_01(self):
        po=Page(self.driver)
        po.test_zhuce()

if __name__ == '__main__':
    unittest.main()